package com.chendx.store.api.user;

import com.chendx.model.common.dtos.ResponseResult;
import com.chendx.model.user.UserInfoVo;
import com.chendx.model.user.dto.UserDto;

/**
 * Created by chendx on 2022/4/21.
 */
public interface UserControllerApi {
    /**
     * 用户信息
     * @return
     */
    public ResponseResult loadUserInfo();

    /**
     * 用户基础信息
     * @return
     */
    public ResponseResult loadBaseInfo();

    /**
     * 获取用户所有信息
     * @return
     */
    public ResponseResult loadAllInfo();

    UserInfoVo loadUser(String userId);

    /**
     * 用户每日签到
     * @return
     */
    ResponseResult sign();

    ResponseResult signInfo();

    /**
     * 扣减豆抽奖
     * @return
     */
    public ResponseResult decrScore();

    /**
     * 加豆
     * @return
     */
    public ResponseResult addScore(Integer score);

    /**
     * 修改信息
     */
    public ResponseResult updateUser(UserDto dto);
}
